﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace ServiceLayer
{
    [DataContract]
    public class PointDTO
    {
        [DataMember]
        public double X { set; get; }

        [DataMember]
        public double Y { set; get; }

        internal PointDTO(BusinessLayer.Point point)
        {
            X = point.X;
            Y = point.Y;
        }
    }
}